home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12656 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: newsroom.hitc.com!kfreeman
  2. From: kfreeman@mandrake.HITC.COM (Keith Freeman)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Use of templates in a large c++ project.
  5. Date: 20 Mar 1996 18:10:12 GMT
  6. Organization: Hughes Team (EOSDIS)
  7. Message-ID: <KFREEMAN.96Mar20131012@mandrake.HITC.COM>
  8. References: <4i45sm$97q@news_1.cyrix.com>
  9. NNTP-Posting-Host: mandrake.hitc.com
  10. In-reply-to: Ken Toney's message of 12 Mar 1996 15:40:06 GMT
  11.  
  12. In article <4i45sm$97q@news_1.cyrix.com> Ken Toney <kent> writes:
  13.  
  14. > This company when they auto-instantiate, causes
  15. > multiply defined symbols; When this company explicitly 
  16. > instantiations, they have to include the template
  17. > library archive several times in the link command.
  18.  
  19. It really depends on your compiler.  We use templates
  20. (auto-instantiation) on a very large project with no such problems.
  21. At first, a compiler bug caused multiply-defined symbols (Sun C++
  22. 3.0.1), but the latest patch fixes that.
  23.  
  24. Notice the success of products like Tools.h++; there must be a lot of
  25. projects out there using templates successfully.
  26.  
  27. keith freeman
  28. kfreeman@eos.hitc.com
  29.  
  30.